#define _CRT_SECURE_NO_WARNINGS

#include "BTree.h"

int main()
{
	int i = 0;
	BTDataType val[] = { "ABD##E#H##CF##G##" };

	BTNode* tree = BinaryTreeCreate(val, 17, &i);
	/*BinaryTreePrevOrder(tree);
	printf("\n");
	BinaryTreeInOrder(tree);
	printf("\n");
	BinaryTreePostOrder(tree);
	printf("\n");*/
	BinaryTreeLevelOrder(tree);

	//int a = BinaryTreeComplete(tree);
	//printf("%d", a);
	printf("\n");

	/*printf("%d\n", BinaryTreeSize(tree));

	printf("%d\n", BinaryTreeLeafSize(tree));

	printf("%d\n", BinaryTreeLevelKSize(tree,3));*/

	BinaryTreeDestory(tree);
	return 0;
}